﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Psm.Messaging;
using Psm.Util;

namespace Psm.PubSub.Messaging
{
    public enum PubSubMessageType : byte
    {
        QUERY_MESSAGE,
        SCHEMA_MESSAGE,
        DATA_MESSAGE
    }

    public abstract class PubSubMessage : IMessage
    {
        public abstract PubSubMessageType  MessageType { get; }

        public virtual bool Serialize(ByteBuffer buffer)
        {   
            return false;
        }
        
    }
}
